package cn.org.timespace.easyframe;

/**
 * <p>
 * 系统常量
 * </p>
 * 
 * @version 1.0, 11/03/06
 * @since 1.0
 * @author 
 */
public class SystemConst {
	
	//帐号后面的流水号长度
	public static final int accountSerialNoLength = 5; 
	
    /**
     * 系统常量
     */
    //通用值 对应SYS_VAR表的DIC_IS_USE字段
    public static final String SYS_VAR_ENABLE = "1";//启用
    public static final String SYS_VAR_DISABLE = "0";//禁用
    
    //1.前台模块 ----------------------------start---------------------------- //
    //对应SYS_VAR表的SYS_CODE字段
    public static final String SYS_VAR_DISCOUNT_ENABLE = "DiscountEnable";//是否启用全场打折
    public static final String SYS_VAR_ENABLE_CHANGE_PRICE_DISCOUNT = "EnableChangePriceDiscount";//开单时是否允许手动修改房价及折扣比例
    public static final String SYS_VAR_DISABLE_MANUAL_INPUT_CARD_NO = "DisableManualInputCardNo";//是否启用不允许手动输入宾客卡号
    public static final String SYS_VAR_CHECK_IN_ADD_ONE_DAY_RENT = "CheckInAddOneDayRent";//是否启用几点前入住加收一天房租
    public static final String SYS_VAR_CHECK_IN_ADD_HALF_DAY_RENT = "CheckInAddHalfDayRent";//是否启用几点前入住加收半天房租
    public static final String SYS_VAR_CHECK_IN_ADD_LITTLE_DAY_RENT = "CheckInAddLittleDayRent";//是否启用几点前入住加收三分之一天房租
    public static final String SYS_VAR_CHECK_OUT_ADD_HALF_DAY_RENT = "CheckOutAddHalfDayRent";//是否启用客人在xx时间之后，退房加收半天房租
    public static final String SYS_VAR_CHECK_OUT_ADD_ONE_DAY_RENT = "CheckOutAddOneDayRent";//是否启用启用，客人在xx之后，退房加收一天房租
    public static final String SYS_VAR_CAL_RENT_LESS_THAN_ONE_DAY = "CalRentLessThanOneDay";//入住不足一天的房费计算方法
    public static final String SYS_VAR_TEMP_CHANGE = "TempChange";//是否启用允许临时调动
    public static final String SYS_VAR_‎INITIAL‎_DEPOSIT = "InitialDeposit";//初始入住押金
    public static final String SYS_VAR_DISABLE_VACANT_ROOM = "DisableVacantRoom";//是否启用空房不能开放卡
    public static final String SYS_VAR_OVER_DRAW_ALARM = "OverdrawAlarm";//是否启用透支xx自动报警
    public static final String SYS_VAR_AUTO_COUNT_RENT_AFTER_CHECK_IN = "AutoCountRentAfterCheckIn";//是否启用开房xx分钟，后开始计费
    public static final String SYS_VAR_COUNT_HOUR_RENT_BY_CEILING = "CountHourRentByCeiling";//是否启用最少按xx个小时计费，不足则以此为准
    public static final String SYS_VAR_COUNT_DAY_RENT_BY_CEILING = "CountDayRentByCeiling";//是否启用超过xx小时后，则按全天房价收费
    public static final String SYS_VAR_COUNT_HOUR_ROOM_RENT_BY_CEILING = "CountHourRoomRentByCeiling";//是否启用当天钟点房超出全天房价，则以全天房价计费
    public static final String SYS_VAR_ENABLE_AUTO_STATISTICS_AT_NIGHT = "EnableAutoStatisticsAtNight";//是否启用自动夜审
    public static final String SYS_VAR_NOTCAL_TODAY_RENT = "NotCalTodayRent";//是否启用不过当日房租(适应过早夜审)
    public static final String SYS_VAR_STATISTICS_AT_NIGHT_IP = "StatisticsAtNightIp";//自动夜审电脑IP
    public static final String SYS_VAR_STATISTICS_AT_NIGHT_TIME = "StatisticsAtNightTime";//自动夜审时间
    public static final String SYS_VAR_RENT_DISCOUNT = "RentDiscount";//入住折扣价
    public static final String SYS_VAR_CHECK_OUT‎_STATUS = "CheckOutStatus";//退房后状态
    public static final String SYS_VAR_CHECK_OUT‎_TIME = "CheckOutTime";//退房时间点
    
    //对应SYS_VAR表的DIC_MODEL字段
    public static final String SYS_VAR_MODEL_RECEPTION = "1";//前台模块
    
    //专用值 对应SYS_VAR表的DIC_IS_USE字段
    
    //入住不足一天的房费计算方法
    public static final String CalRentLessThanOneDay_calAsWholeDay = "1";//入住不足一天按一天收费
    public static final String CalRentLessThanOneDay_calAsHourRoom = "2";//入住不足xx小时，按钟点房计费
    public static final String CalRentLessThanOneDay_calAsHalfDay = "3";//入住不足xx小时，按钟半天房价计费
    public static final String CalRentLessThanOneDay_manualInput = "4";//手工录输房费
    
    //初始入住押金
    public static final String Initial‎Deposit_Customize = "1";//固定押金
    public static final String Initial‎Deposit_Default = "2";//使用房型中定义押金
    
    //入住折扣价
    public static final String RentDiscount_round = "1";//四舍五入至元
    public static final String RentDiscount_floor = "2";//去零取整
 
    //1.前台模块 ---------------------------- end ---------------------------- //
}
